//
//  MBCommodityServiceCell.swift
//  StarTimesON
//
//  Created by Toj on 9/27/22.
//  Copyright © 2022 StarTimes. All rights reserved.
//

import UIKit

class MBCommodityServiceCell: UICollectionViewCell {
    
    private lazy var agreeService: STAgreeServiceView = {
       let view = STAgreeServiceView()
        return view
    }()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        contentView.addSubview(agreeService)
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()

        agreeService.snp.makeConstraints { make in
            make.edges.equalTo(contentView)
        }
    }
}
